package route

import (
	"bianwang/web/handler"
	"github.com/julienschmidt/httprouter"
)

func InitOssRouter(rou *httprouter.Router) *httprouter.Router {
	{
		// 获取省份信息
		rou.POST("/api/v1.0/oss/updatabyurl", handler.UpdataByUrl)
		rou.POST("/api/v1.0/oss/updatabybase", handler.UpdataByBase)
		rou.POST("/api/v1.0/oss/getdata", handler.GetData)
	}
	return rou
}
